home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
TeX 1995 July
/
TeX CD-ROM July 1995 (Disc 1)(Walnut Creek)(1995).ISO
/
dviware
/
dtl
/
dtl.doc
< prev
next >
Wrap
Text File
|
1995-02-09
|
2KB
|
78 lines
``dtl.doc''
Thu 9 Feb 1995
Geoffrey Tobin
Correspondence between DTL and DVI files.
-----------------------------------------
DTL variety sequences-5, version 0.5.1
--------------------------------------
Note: `DTL' stands for `Device-Independent Text Language', and is an
ASCII text representation of a DVI file.
References for DVI file structure:
----------------------------------
In this distribution:
dvi.doc
In the TeX archives:
CTAN: dviware/driv-standard/level-0/dvistd0.tex
"The DVI Driver Standard, Level 0",
by The TUG DVI Driver Standards Committee (now defunct)
chaired by Joachim Schrod.
Appendix A, "Device-Independent File Format",
section A.2, "Summary of DVI commands".
DTL Commands
------------
variety <variety-name> Specifies name of DTL file type.
Naturally, `variety' has no DVI equivalent.
The other DTL commands correspond one-to-one with DVI commands, but I
have used briefer names (except for `special') than those used in the
DVI standards document.
DTL : DVI
(text) : series of set_char commands, for printable ASCII text
\( : literal ASCII left parenthesis in (text)
\) : literal ASCII right parenthesis in (text)
\\ : literal ASCII backslash in (text)
\" : literal ASCII double quote in (text)
\XY : set_char for character with hexadecimal code XY,
not in parentheses, but by itself for readability
s1, s2, s2, s3 : set, with (1,2,3,4)-byte charcodes
sr : set_rule
p1, p2, p2, p3 : put, with (1,2,3,4)-byte charcodes
pr : put_rule
nop : nop (do nothing)
bop : bop (beginning of page)
eop : eop (end of page)
[ : push
] : pop
r1, r2, r3, r4 : right, with (1,2,3,4)-byte argument
w0, w1, w2, w3, w4 : as in DVI
x0, x1, x2, x3, x4 : as in DVI
d1, d2, d3, d4 : down, with (1,2,3,4)-byte argument
y0, y1, y2, y3, y4 : as in DVI
z0, z1, z2, z3, z4 : as in DVI
fn : fnt_num (set current font to font number in 0 to 63)
f1, f2, f3, f4 : fnt (set current font to (1,2,3,4)-byte font number)
special : xxx (special commands with (1,2,3,4)-byte string length)
fd : fnt_def (assign a number to a named font)
pre : preamble
post : post (begin postamble)
post_post : post_post (end postamble)
opcode : undefined DVI command (250 to 255)
---------------
EOF ``dtl.doc''
---------------